<?php

class IndexAction extends Action
{
    public function index()
    {
 		$list=D("Case")->findAll(null,'id,title,thumb','addtime desc',4);
 		$this->assign('caselist',$list);
 		 					
		$this->display();
    }
}
?>